package com.moon.vo;

import com.moon.entity.TAuction;
import com.moon.entity.TAuctionItem;
import com.moon.entity.THistory;

import java.util.List;

public class TAuctionVo extends TAuction {
       private Long pid;
       private Long sellerId;
       private String productName;
       private String productDetail;
       private Integer pstatus;
       private String productImg;

       public TAuctionVo() {
       }

       public TAuctionVo(Long pid, Long sellerId, String productName, String productDetail, Integer pstatus, String productImg) {
              this.pid = pid;
              this.sellerId = sellerId;
              this.productName = productName;
              this.productDetail = productDetail;
              this.pstatus = pstatus;
              this.productImg = productImg;
       }

       public Long getPid() {
              return pid;
       }

       public void setPid(Long pid) {
              this.pid = pid;
       }

       public Long getSellerId() {
              return sellerId;
       }

       public void setSellerId(Long sellerId) {
              this.sellerId = sellerId;
       }

       public String getProductName() {
              return productName;
       }

       public void setProductName(String productName) {
              this.productName = productName;
       }

       public String getProductDetail() {
              return productDetail;
       }

       public void setProductDetail(String productDetail) {
              this.productDetail = productDetail;
       }

       public Integer getPstatus() {
              return pstatus;
       }

       public void setPstatus(Integer pstatus) {
              this.pstatus = pstatus;
       }

       public String getProductImg() {
              return productImg;
       }

       public void setProductImg(String productImg) {
              this.productImg = productImg;
       }

       @Override
       public String toString() {
              return "TAuctionVo{" +
                      "pid=" + pid +
                      ", sellerId=" + sellerId +
                      ", productName='" + productName + '\'' +
                      ", productDetail='" + productDetail + '\'' +
                      ", pstatus=" + pstatus +
                      ", productImg='" + productImg + '\'' +
                      "} " + super.toString();
       }
}
